rem CoolInstall_Boot=S:
rem CoolInstall_Install=W:

select disk %CoolInstall_Disk%
clean
convert gpt noerr

rem == 1. System partition =========================
create partition efi size=104 noerr
format quick fs=fat32 label="ESP" noerr
assign letter="S" noerr

rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=128 noerr


rem == 3. Windows partition ========================
create partition primary size=102401 noerr
format quick fs=ntfs label="Windows" noerr
assign letter="W" noerr

rem == 4. Data partition ========================
create partition primary noerr
format quick fs=ntfs label="Soft" noerr
assign letter="M" noerr

list volume
exit